{include file="kuyou/common/menu" /}
<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Purchase_code')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-purchase_code" class="form-control" name="row[purchase_code]" type="text" value="{$row.purchase_code|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2"> {:__('List Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" class="form-control" name="row[name]" type="text" value="{$row.name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Goods_code')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" placeholder="{:__('Select product')}" style="background: #fff" readonly class="form-control" id="goods_name" name="row[goods_name]" value="{$row.goods_name|htmlentities}">
            <input type="hidden" name="row[goods_code]" readonly class="form-control" id="goods_code" value="{$row.goods_code|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2"> {:__('Piece rate salary')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-wages" class="form-control" name="row[wages]" type="number" value="{$row.wages|htmlentities}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
